package com.yongchun.service.impl;

import com.yongchun.dao.IPlayerDao;
import com.yongchun.modelExt.PlayerExt;
import com.yongchun.pubInter.BaseService;
import com.yongchun.search.PlayerSearch;
import com.yongchun.service.IPlayerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Service;

/**
 * @author afeng
 * @version 1.0
 * @date 2023/11/15 下午2:17
 */
@Service
public class PlayerServiceImpl extends BaseService<PlayerExt, PlayerSearch,String> implements IPlayerService {
    @Autowired
    private IPlayerDao playerDao;

    @Override
    public MongoRepository getDao() {
        return playerDao;
    }
}
